<?php
// +----------------------------------------------------------------------
// | quanli team
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2020 http://www.fistforward.com/ All rights reserved.
// +----------------------------------------------------------------------
// | Author: create by allen.qiang
// +----------------------------------------------------------------------


/**
 * 列表 操作功能
 * @package  htdocs
 * @subpackage  quanliadmin
 * @author   create by allen.qiang
 */

class pa_addressPrecision {

    public function execute() {

        if(isset($_REQUEST['operFlg']) && is_numeric($_REQUEST['operFlg']) && $_REQUEST['operFlg'] > 0){

            switch($_REQUEST['operFlg']){

                case 1: //收货地址精度列表页

                    $this->addressPrecisionList();

                    break;

                default:

                    backendError();

                    break;
            }

        } else {

            backendError();

        }
    }

    /**
     * 收货地址列表
     */

    private  function addressPrecisionList(){

        global $G_PGLOB;

        $G_PGLOB->smarty->assign('edit_permission', $G_PGLOB->has_permission(23));

        $G_PGLOB->smarty->display('system/address_precision.tpl');
    }


}